package org.jeecg.modules.xl.order.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.xl.order.entity.XlCustomerOrderDetail;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description: 订单发货DTO
 * @Date:   2024-10-27
 * @Version: V1.0
 */
@Data
@ApiModel(value="订单发货DTO")
public class XlCustomerShipmentDTO {

	/**主键*/
	@NotNull
	@ApiModelProperty(value = "主键")
    private String id;

	/**门店编码*/
	@NotNull
	@ApiModelProperty(value = "门店编码")
	private String storeCode;

	/**门店编码*/
	@NotNull
	@ApiModelProperty(value = "门店姓名")
	private String storeName;

	/**订单创建人*/
	@ApiModelProperty(value = "订单创建人")
	private String orderCreateBy;

	/**订单单号*/
	@NotNull
	@ApiModelProperty(value = "订单单号")
	private String orderCode;

	/**发货方式(1:城配，2:快递)*/
//	@Dict(dicCode = "delivery_way")
//	@ApiModelProperty(value = "发货方式(1:城配，2:快递)")
//	private String deliveryWay;

	/**快递类型(1:三通一达，2:顺丰，3:京东，4:极兔，5:邮政，6:德邦)*/
	@Dict(dicCode = "delivery_type")
	@ApiModelProperty(value = "快递类型(1:三通一达，2:顺丰，3:京东，4:极兔，5:邮政，6:德邦)")
	private String deliveryType;

	/**快递单号*/
//	@NotNull
	@ApiModelProperty(value = "快递单号")
	private String deliveryCode;

	@NotNull
	@ApiModelProperty(value = "订单明细(发货单绑定的商品集合)")
	private List<XlCustomerOrderDetail> xlCustomerOrderDetailList;
}
